
export const tableOption = {
  border: true,
  index: true,
  indexLabel: '序号',
  stripe: true,
  menuAlign: 'center',
  searchMenuSpan: 6,
  align: 'center',
  viewBtn:true,
  column: [{
    label: '规则名称',
    prop: 'name',
    span: 24,
    rules: [{
      required: true,
      message: '规则名称不能为空',
      trigger: 'blur'
    }]
  }, {
    width: 120,
    label: '实体类',
    prop: 'className',
    span: 24,
    rules: [{
      required: true,
      message: '实体类不能为空',
      trigger: 'blur'
    }
    ]
  }, {
    width: 150,
    label: '规则字段',
    prop: 'field',
    overHidden: true,
    span: 24
  }, {
    width: 150,
    label: '规则条件',
    prop: 'express',
    type: "select",
    dicUrl: '/admin/dict/type/express',
    span: 24
  }, {
    width: 150,
    label: '规则值',
    prop: 'value',
    overHidden: true,
    span: 24
  }, {
    width: 150,
    label: '自定义sql',
    prop: 'sqlSegment',
    overHidden: true,
    span: 24
  }, {
    width: 150,
    label: '备注信息',
    prop: 'remarks',
    overHidden: true,
    span: 24
  }
  ]
}
